import { Component, OnInit, OnChanges, Input } from '@angular/core';

@Component({
    selector: 'app-ng-header',
    templateUrl: './menu.component.html',
    styleUrls: ['./menu.component.scss'],
})
export class MenuComponent implements OnInit, OnChanges {
    @Input() menu: string;

    constructor() {
    }

    ngOnInit(): void {
        console.log(this.menu);
    }

    ngOnChanges(): void {
        console.log(this.menu);
    }
}



